import Layout from '@/layout/index'

export default [
  {
    path: '/goodsCenter',
    name: 'goodsCenter',
    component: Layout,
    meta: { title: '商品中心', icon: 'menu-goodsCenter', menuId: 201, showIndex: 4 },
    children: [
      {
        path: 'goodsSetting',
        name: 'goodsSetting',
        component: () => import('@/views/goodsCenter/goodsSetting/index'),
        meta: { title: '商品配置', menuId: 20101, showIndex: 1 }
      },
      {
        path: 'marketPriceManage',
        name: 'marketPriceManage',
        component: () => import('@/views/goodsCenter/marketPriceManage/index'),
        meta: { title: '市场价格管理', menuId: 20102, showIndex: 2 }
      },
      {
        path: 'areaPriceManage',
        name: 'areaPriceManage',
        component: () => import('@/views/goodsCenter/areaPriceManage/index'),
        meta: { title: '区域价格管理', menuId: 20103, showIndex: 3 }
      },
      {
        path: 'discountPriceManage',
        name: 'discountPriceManage',
        component: () => import('@/views/goodsCenter/discountPriceManage/index'),
        meta: { title: '优惠价格管理', menuId: 20105, showIndex: 4 }
      },
      {
        path: 'scoreRuleSetting',
        name: 'scoreRuleSetting',
        component: () => import('@/views/goodsCenter/scoreRuleSetting/index'),
        meta: { title: '积分规则配置', menuId: 20106, showIndex: 5 }
      },
      {
        path: 'goodsCostSetting',
        name: 'goodsCostSetting',
        component: () => import('@/views/goodsCenter/goodsCostSetting/index'),
        meta: { title: '商品费用设置', menuId: 20114, showIndex: 6 }
      },
      {
        path: 'specialPriceManage',
        name: 'specialPriceManage',
        component: () => import('@/views/goodsCenter/specialPriceManage/index'),
        meta: { title: '特别价格管理', menuId: 20104, showIndex: 7 }
      },
      {
        path: 'specialOrientedMode',
        name: 'specialOrientedMode',
        component: () => import('@/views/goodsCenter/specialOrientedMode/index'),
        meta: { title: '特价导向模式', menuId: 20112, showIndex: 8 }
      }
    ]
  }
]
